import { componentMap } from "./index";

const ComponentsDemo = {
  //首页组件
  path: '/ComponentLibrary',
  redirect: "noRedirect",
  component: componentMap['Layout'],
  name: "ComponentLibrary",
  meta: { title: '自研组件' },
  children: [
    {
      path: '/IconFont',
      name: 'IconFont',
      component: componentMap['IconFont'],
      meta: { title: '图标库' }
    },
    {
      path: '/ButtonGrop',

      name: 'ButtonGrop',
      component: componentMap['ButtonGrop'],
      meta: { title: '按钮组' }
    },
    {
      path: '/Form',
      name: 'Form',
      component: componentMap['Form'],
      meta: { title: '表单' }
    },
    // {
    //   path: '/SingleChoose',
    //   name: 'SingleChoose',
    //   component: componentMap['SingleChoose'],
    //   meta: { title: '单选框' }
    // },
    // {
    //   path: '/MuchChoose',
    //   name: 'MuchChoose',
    //   component: componentMap['MuchChoose'],
    //   meta: { title: '多选框' }
    // },
    {
      path: '/Card',
      name: 'Card',
      component: componentMap['Card'],
      meta: { title: '空白卡片' }
    },
    {
      path: '/CardBox',
      name: 'CardBox',
      component: componentMap['CardBox'],
      meta: { title: '卡片容器' }
    },
    {
      path: '/FixedSidebar',
      name: 'FixedSidebar',
      component: componentMap['FixedSidebar'],
      meta: { title: '左右框架' }
    },
    {
      path: '/ExternalLink',
      name: 'ExternalLink',
      component: componentMap['ExternalLink'],
      meta: { title: '外联容器' }
    },
    {
      path: '/LayoutComponents',
      name: 'LayoutComponents',
      component: componentMap['LayoutComponents'],
      meta: { title: '布局格栅' }
    },
    {
      path: '/Switch',
      name: 'Switch',
      component: componentMap['Switch'],
      meta: { title: '开关' }
    },
    {
      path: '/ShuttleTable',
      name: 'ShuttleTable',
      component: componentMap['ShuttleTable'],
      meta: { title: '穿梭表格' }
    },
    {
      path: '/DropSelect',
      name: 'DropSelect',
      component: componentMap['DropSelect'],
      meta: { title: '下拉选择框' }
    },
    {
      path: '/Radio',
      name: 'Radio',
      component: componentMap['Radio'],
      meta: { title: '单选条件' }
    },
    {
      path: '/CheckBox',
      name: 'CheckBox',
      component: componentMap['CheckBox'],
      meta: { title: '多选条件' }
    },
    {
      path: '/PageComponents',
      name: 'PageComponents',
      component: componentMap['PageComponents'],
      meta: { title: '分页' }
    },

    {
      path: '/Table',
      name: 'Table',
      component: componentMap['Table'],
      meta: { title: '基础表格' }
    },
    {
      path: '/TreeTable',
      name: 'TreeTable',
      component: componentMap['TreeTable'],
      meta: { title: '树形表格' }
    },
    {
      path: '/Matrix',
      name: 'Matrix',
      component: componentMap['Matrix'],
      meta: { title: '矩阵布局' }
    },
    {
      path: '/FoldingPanel',
      name: 'FoldingPanel',
      component: componentMap['FoldingPanel'],
      meta: { title: '折叠搜索面板' }
    },
    {
      path: '/Signature',
      name: 'Signature',
      component: componentMap['Signature'],
      meta: { title: '加签' }
    },

    // {
    //   path: '/UpLoad',
    //   name: 'UpLoad',
    //   component: componentMap['UpLoad'],
    //   meta: { title: '上传组件' }
    // },
    // {
    //   path: '/Calendar',
    //   name: 'Calendar',
    //   component: componentMap['Calendar'],
    //   meta: { title: '日历组件' }
    // },
    {
      path: '/Dialog',
      name: 'Dialog',
      component: componentMap['Dialog'],
      meta: { title: '对话框' }
    },
    {
      path: '/Drawer',
      name: 'Drawer',
      component: componentMap['Drawer'],
      meta: { title: '抽屉' }
    },
    {
      path: '/AlertBox',
      name: 'AlertBox',
      component: componentMap['AlertBox'],
      meta: { title: '弹框' }
    },
    {
      path: '/Loading',
      name: 'Loading',
      component: componentMap['Loading'],
      meta: { title: '加载中...' }
    },
    {
      path: '/Notification',
      name: 'Notification',
      component: componentMap['Notification'],
      meta: { title: '消息推送' }
    },
    {
      path: '/TopTabs',
      name: 'TopTabs',
      component: componentMap['TopTabs'],
      meta: { title: '标签页' }
    },
    // {
    //   path: '/LeftTabs',
    //   name: 'LeftTabs',
    //   component: componentMap['LeftTabs'],
    //   meta: { title: '左侧标签页' }
    // },
    // {
    //   path: '/TreeSubBarr',
    //   name: 'TreeSubBarr',
    //   component: componentMap['TreeSubBarr'],
    //   meta: { title: '树形控件' }
    // },
    // {
    //   path: '/ArticleSteps',
    //   name: 'ArticleSteps',
    //   component: componentMap['ArticleSteps'],
    //   meta: { title: '步骤条' }
    // },
  ]
}




export default ComponentsDemo;
